//
//  WPUser.h
//  wobingwoyi
//
//  Created by WGP on 16/8/15.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WPUser : NSObject<NSCoding>

@property(nonatomic,assign)int64_t id;

@property(nonatomic,copy)NSString *account;
/**
 *  用户密码
 */
@property(nonatomic,copy)NSString *password;
/**
 *  用户昵称
 */
@property(nonatomic,copy)NSString *name;

//   profile_image_url	string	用户头像地址（中图），50×50像素
@property(nonatomic,copy)NSString *image;

@property(nonatomic,copy)NSString *sex;

@property(nonatomic,copy)NSString *birthday;
//本人邀请码
@property(nonatomic,copy)NSString *inviteCode;
//邀请码
@property(nonatomic,copy)NSString *invitedCode;
//电话
@property(nonatomic,copy)NSString *phone;
//注册时间Timestamp
@property(nonatomic,assign)int64_t registerTime;

@property(nonatomic,assign)NSInteger gold;
@property(nonatomic,assign)NSInteger coin;
@property(nonatomic,assign)CGFloat income;

@end
